package com.yaj.service;

import com.yaj.pojo.ApprovalRecords;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yaj.vo.RecordsVo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xiaojiu
 * @since 2024-08-21
 */
public interface IApprovalRecordsService extends IService<ApprovalRecords> {

    /**
     * 插入请假记录表
     * @param approvalRecords
     */
    void insertRecords(ApprovalRecords approvalRecords);


    /**
     * 查看请假的记录
     * @param id
     * @param recordId
     * @return
     */
    RecordsVo approvalRecords(Long id, Long recordId);
}
